from rich.tree import Tree
from rich.console import Console

console = Console()

tree = Tree("📁 项目结构")
src = tree.add("📁 src")
src.add("📄 main.py")
src.add("📄 utils/__init__.py")
tests = tree.add("📁 tests")
tests.add("📄 test_main.py")
console.print(tree)